Total Complexity | 41 |
Dependencies | 3 |
Dependents | 5 |
Total lines | 160 |
Lines of code | 88 |
Logical lines of code | 57 |
Comment lines | 51 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_discount_amount() | 53 | 12 | 22 | |
calculate_discount() | 54 | 10 | 21 | |
maybe_validate_discount_time() | 56 | 7 | 17 | |
get_discount_settings() | 61 | 5 | 12 | |
maybe_time_bound_discount() | 64 | 5 | 10 | |
get_time_bound_discount_settings() | 71 | 2 | 6 |